.class Lrexsee/barcode/BarcodeCaptureDialog$3;
.super Ljava/lang/Object;
.source "BarcodeCaptureDialog.java"

# interfaces
.implements Landroid/view/SurfaceHolder$Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/barcode/BarcodeCaptureDialog;-><init>(Lrexsee/core/browser/Browser;Lrexsee/barcode/BarcodeCaptureDialog$OnScanSuccessed;ZZZ)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/barcode/BarcodeCaptureDialog;


# direct methods
.method constructor <init>(Lrexsee/barcode/BarcodeCaptureDialog;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/barcode/BarcodeCaptureDialog$3;->this$0:Lrexsee/barcode/BarcodeCaptureDialog;

    .line 250
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public surfaceChanged(Landroid/view/SurfaceHolder;III)V
    .locals 0
    .param p1, "holder"    # Landroid/view/SurfaceHolder;
    .param p2, "format"    # I
    .param p3, "width"    # I
    .param p4, "height"    # I

    .prologue
    .line 266
    return-void
.end method

.method public surfaceCreated(Landroid/view/SurfaceHolder;)V
    .locals 8
    .param p1, "holder"    # Landroid/view/SurfaceHolder;

    .prologue
    const/4 v1, 0x0

    .line 254
    :try_start_0
    iget-object v0, p0, Lrexsee/barcode/BarcodeCaptureDialog$3;->this$0:Lrexsee/barcode/BarcodeCaptureDialog;

    iget-object v0, v0, Lrexsee/barcode/BarcodeCaptureDialog;->mCamera:Landroid/hardware/Camera;

    invoke-virtual {v0, p1}, Landroid/hardware/Camera;->setPreviewDisplay(Landroid/view/SurfaceHolder;)V

    .line 255
    iget-object v0, p0, Lrexsee/barcode/BarcodeCaptureDialog$3;->this$0:Lrexsee/barcode/BarcodeCaptureDialog;

    new-instance v2, Lrexsee/barcode/CaptureHandler;

    iget-object v3, p0, Lrexsee/barcode/BarcodeCaptureDialog$3;->this$0:Lrexsee/barcode/BarcodeCaptureDialog;

    # getter for: Lrexsee/barcode/BarcodeCaptureDialog;->mDialog:Lrexsee/barcode/BarcodeCaptureDialog;
    invoke-static {v3}, Lrexsee/barcode/BarcodeCaptureDialog;->access$0(Lrexsee/barcode/BarcodeCaptureDialog;)Lrexsee/barcode/BarcodeCaptureDialog;

    move-result-object v3

    invoke-direct {v2, v3}, Lrexsee/barcode/CaptureHandler;-><init>(Lrexsee/barcode/BarcodeCaptureDialog;)V

    iput-object v2, v0, Lrexsee/barcode/BarcodeCaptureDialog;->mCaptureHandler:Lrexsee/barcode/CaptureHandler;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 260
    :goto_0
    return-void

    .line 256
    :catch_0
    move-exception v0

    move-object v7, v0

    .line 257
    .local v7, "e":Ljava/lang/Exception;
    iget-object v0, p0, Lrexsee/barcode/BarcodeCaptureDialog$3;->this$0:Lrexsee/barcode/BarcodeCaptureDialog;

    move-object v2, v1

    move-object v3, v1

    move-object v4, v1

    move-object v5, v1

    move-object v6, v1

    invoke-virtual/range {v0 .. v6}, Lrexsee/barcode/BarcodeCaptureDialog;->dismissDialog(Landroid/graphics/Bitmap;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 258
    iget-object v0, p0, Lrexsee/barcode/BarcodeCaptureDialog$3;->this$0:Lrexsee/barcode/BarcodeCaptureDialog;

    # getter for: Lrexsee/barcode/BarcodeCaptureDialog;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/barcode/BarcodeCaptureDialog;->access$1(Lrexsee/barcode/BarcodeCaptureDialog;)Lrexsee/core/browser/Browser;

    move-result-object v0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v7}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    goto :goto_0
.end method

.method public surfaceDestroyed(Landroid/view/SurfaceHolder;)V
    .locals 0
    .param p1, "holder"    # Landroid/view/SurfaceHolder;

    .prologue
    .line 263
    return-void
.end method
